#!/usr/bin/env python3
# -*- coding: utf-8 -*-

class FunctionDemo:
    name = "demoName"

    def __init__(self):
        self.name = "demo"

    def run(self):
        return "demo class"


demo = FunctionDemo()
print(hasattr(demo, "run"))
print(getattr(demo, "name"))
setattr(FunctionDemo, "age", 19)
demo2 = FunctionDemo()
